import request from '@/utils/request'
// 项目列表
export function getProjectFrontList(query) {
  return request({
    url: '/project/projectFront/page',
    method: 'get',
    params: query
  })
}
// 查询bu
export function findProjectBuList(tid) {
  return request({
    url: '/project/projectFront/findProjectBuList?tenantId='+tid,
    method: 'get'
  })
}

export function findProjectTypeList(id,tid) {
  return request({
    url: '/project/projectFront/findProjectTypeByBu?buId='+id+'&tenantId='+tid,
    method: 'get'
  })
}
// 项目详情
export function getProjectDetail(id) {
  return request({
    url: '/project/projectFront/receptionDetail?id=' + id,
    method: 'get'
  })
}

